package GUIs;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author nik
 */
public class AdministratorGUI extends javax.swing.JFrame {

    /**
     * Creates new form diaxiristis
     */
    public AdministratorGUI() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        Label_SuperMarketManage_Welcome = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        Label_StoreManage_Welcome = new javax.swing.JLabel();
        Button_StoreCreation = new javax.swing.JButton();
        Button_StoreEdit = new javax.swing.JButton();
        Button_StoreDeletion = new javax.swing.JButton();
        jPanel2 = new javax.swing.JPanel();
        Label_ProductManage_Welcome = new javax.swing.JLabel();
        Button_ProductCreation = new javax.swing.JButton();
        Button_ProductEdit = new javax.swing.JButton();
        Button_ProductDeletion = new javax.swing.JButton();
        jPanel3 = new javax.swing.JPanel();
        Label_CustomerManage_Welcome = new javax.swing.JLabel();
        Button_CustomerCreation = new javax.swing.JButton();
        Button_CustomerEdit = new javax.swing.JButton();
        Button_CustomerDeletion = new javax.swing.JButton();
        jPanel4 = new javax.swing.JPanel();
        Label_StoreProductConnection_Welcome = new javax.swing.JLabel();
        Button_StoreProductConnection = new javax.swing.JButton();
        Button_SuperMarketManage_Exit = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        Label_SuperMarketManage_Welcome.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        Label_SuperMarketManage_Welcome.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Label_SuperMarketManage_Welcome.setText("Διαχείριση ηλεκτρονικού καταστήματος");

        jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        Label_StoreManage_Welcome.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        Label_StoreManage_Welcome.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Label_StoreManage_Welcome.setText("Διαχείριση καταστημάτων");

        Button_StoreCreation.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Button_StoreCreation.setText("Δημιουργία");
        Button_StoreCreation.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                Button_StoreCreationActionPerformed(evt);
            }
        });

        Button_StoreEdit.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Button_StoreEdit.setText("Επεξεργασία");

        Button_StoreDeletion.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Button_StoreDeletion.setText("Διαγραφή");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(39, 39, 39)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(Button_StoreEdit)
                    .addComponent(Button_StoreCreation, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(Button_StoreDeletion, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(Label_StoreManage_Welcome, javax.swing.GroupLayout.PREFERRED_SIZE, 173, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(Label_StoreManage_Welcome)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(Button_StoreCreation)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(Button_StoreEdit)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(Button_StoreDeletion)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel2.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        Label_ProductManage_Welcome.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        Label_ProductManage_Welcome.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Label_ProductManage_Welcome.setText("Διαχείριση προϊόντων");

        Button_ProductCreation.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Button_ProductCreation.setText("Δημιουργία");
        Button_ProductCreation.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                Button_ProductCreationActionPerformed(evt);
            }
        });

        Button_ProductEdit.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Button_ProductEdit.setText("Επεξεργασία");

        Button_ProductDeletion.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Button_ProductDeletion.setText("Διαγραφή");

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Label_ProductManage_Welcome, javax.swing.GroupLayout.PREFERRED_SIZE, 161, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGap(44, 44, 44)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(Button_ProductEdit)
                            .addComponent(Button_ProductCreation, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(Button_ProductDeletion, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap(22, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(Label_ProductManage_Welcome)
                .addGap(11, 11, 11)
                .addComponent(Button_ProductCreation, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(Button_ProductEdit)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(Button_ProductDeletion)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel3.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        Label_CustomerManage_Welcome.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        Label_CustomerManage_Welcome.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Label_CustomerManage_Welcome.setText("Διαχείριση πελατών");

        Button_CustomerCreation.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Button_CustomerCreation.setText("Δημιουργία");

        Button_CustomerEdit.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Button_CustomerEdit.setText("Επεξεργασία");

        Button_CustomerDeletion.setText("Διαγραφή");

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addGap(27, 27, 27)
                .addComponent(Label_CustomerManage_Welcome, javax.swing.GroupLayout.PREFERRED_SIZE, 137, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(29, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(Button_CustomerEdit, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(Button_CustomerDeletion, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(Button_CustomerCreation, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(49, 49, 49))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(Label_CustomerManage_Welcome)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(Button_CustomerCreation)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(Button_CustomerEdit)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(Button_CustomerDeletion)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel4.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        Label_StoreProductConnection_Welcome.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        Label_StoreProductConnection_Welcome.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Label_StoreProductConnection_Welcome.setText("Βοηθητικές εργασίες");

        Button_StoreProductConnection.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Button_StoreProductConnection.setText("Συσχέτιση προίόντων και καταστημάτων");

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addGap(19, 19, 19)
                        .addComponent(Label_StoreProductConnection_Welcome, javax.swing.GroupLayout.PREFERRED_SIZE, 561, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addGap(68, 68, 68)
                        .addComponent(Button_StoreProductConnection, javax.swing.GroupLayout.PREFERRED_SIZE, 458, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(Label_StoreProductConnection_Welcome)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(Button_StoreProductConnection)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        Button_SuperMarketManage_Exit.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Button_SuperMarketManage_Exit.setText("Έξοδος");
        Button_SuperMarketManage_Exit.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                Button_SuperMarketManage_ExitActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(Label_SuperMarketManage_Welcome, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(Button_SuperMarketManage_Exit, javax.swing.GroupLayout.PREFERRED_SIZE, 82, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(jPanel4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addGroup(layout.createSequentialGroup()
                                    .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                        .addGap(0, 4, Short.MAX_VALUE)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(19, 19, 19)
                .addComponent(Label_SuperMarketManage_Welcome)
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(Button_SuperMarketManage_Exit)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void Button_StoreCreationActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button_StoreCreationActionPerformed
        // TODO add your handling code here:
        new StoreCreation().setVisible(true);
    }//GEN-LAST:event_Button_StoreCreationActionPerformed

    private void Button_SuperMarketManage_ExitActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button_SuperMarketManage_ExitActionPerformed
        // TODO add your handling code here:
         System.exit(0);
    }//GEN-LAST:event_Button_SuperMarketManage_ExitActionPerformed

    private void Button_ProductCreationActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button_ProductCreationActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_Button_ProductCreationActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(AdministratorGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(AdministratorGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(AdministratorGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(AdministratorGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new AdministratorGUI().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton Button_CustomerCreation;
    private javax.swing.JButton Button_CustomerDeletion;
    private javax.swing.JButton Button_CustomerEdit;
    private javax.swing.JButton Button_ProductCreation;
    private javax.swing.JButton Button_ProductDeletion;
    private javax.swing.JButton Button_ProductEdit;
    private javax.swing.JButton Button_StoreCreation;
    private javax.swing.JButton Button_StoreDeletion;
    private javax.swing.JButton Button_StoreEdit;
    private javax.swing.JButton Button_StoreProductConnection;
    private javax.swing.JButton Button_SuperMarketManage_Exit;
    private javax.swing.JLabel Label_CustomerManage_Welcome;
    private javax.swing.JLabel Label_ProductManage_Welcome;
    private javax.swing.JLabel Label_StoreManage_Welcome;
    private javax.swing.JLabel Label_StoreProductConnection_Welcome;
    private javax.swing.JLabel Label_SuperMarketManage_Welcome;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    // End of variables declaration//GEN-END:variables
}
